package com.ruoyi.basedocument.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * BOM物料半成品对象 t_bom_materialhalf
 * 
 * @author ruoyi
 * @date 2024-09-05
 */
public class BomMaterialhalf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String fid;

    /** 名称 */
    private String fname;

    /** 编码 */
    private String fnumber;

    /** 简称 */
    private String fsimplename;

    /** 创建人 */
    private String fcreatorid;

    /** 创建时间 */
    private Date fcreatetime;

    /** 最后修改人 */
    private String flastupdateuserid;

    /** 最后修改时间 */
    private Date flastupdatetime;

    private String cfmaterialid;
    /** 物料BOM编码 */
    @Excel(name = "物料编码")
    private String cfmaterialnumber;

    /** 物料BOM名称 */
    @Excel(name = "物料名称")
    private String cfmaterialname;

    /** 类别 */
    private String cfcategoryname;
    private String cfcategoryid;

    /** 车间 */
    private String cfworkshopid;

    /** 物料BOM计量单位 */
    @Excel(name = "计量单位")
    private String cfmaterialunit;

    /** 物料BOM规格型号 */
    @Excel(name = "规格型号")
    private String cfmaterialspecification;

    /** 生产量 */
    @Excel(name = "生产量")
    private BigDecimal cfproductionquantity;

    /** 是否手工新增 */
    private String cfverson;

    /** 时间类型 */
    private String cfseasontypeid;

    /** 基地 */
    private String cfwfzbaseid;

    /** 描述 */
    @Excel(name = "描述")
    private String fdescription;

    /** 物料BOM原材料分录信息 */
    private List<BomMaterialhalfentry> bomMaterialhalfentryList;

    public void setFid(String fid) 
    {
        this.fid = fid;
    }

    public String getFid() 
    {
        return fid;
    }
    public void setFname(String fname) 
    {
        this.fname = fname;
    }

    public String getFname() 
    {
        return fname;
    }
    public void setFnumber(String fnumber) 
    {
        this.fnumber = fnumber;
    }

    public String getFnumber() 
    {
        return fnumber;
    }
    public void setFdescription(String fdescription) 
    {
        this.fdescription = fdescription;
    }

    public String getFdescription() 
    {
        return fdescription;
    }
    public void setFsimplename(String fsimplename) 
    {
        this.fsimplename = fsimplename;
    }

    public String getFsimplename() 
    {
        return fsimplename;
    }
    public void setFcreatorid(String fcreatorid) 
    {
        this.fcreatorid = fcreatorid;
    }

    public String getFcreatorid() 
    {
        return fcreatorid;
    }
    public void setFcreatetime(Date fcreatetime) 
    {
        this.fcreatetime = fcreatetime;
    }

    public Date getFcreatetime() 
    {
        return fcreatetime;
    }
    public void setFlastupdateuserid(String flastupdateuserid) 
    {
        this.flastupdateuserid = flastupdateuserid;
    }

    public String getFlastupdateuserid() 
    {
        return flastupdateuserid;
    }
    public void setFlastupdatetime(Date flastupdatetime) 
    {
        this.flastupdatetime = flastupdatetime;
    }

    public Date getFlastupdatetime() 
    {
        return flastupdatetime;
    }
    public void setCfmaterialnumber(String cfmaterialnumber) 
    {
        this.cfmaterialnumber = cfmaterialnumber;
    }

    public String getCfmaterialnumber() 
    {
        return cfmaterialnumber;
    }
    public void setCfmaterialname(String cfmaterialname) 
    {
        this.cfmaterialname = cfmaterialname;
    }

    public String getCfmaterialname() 
    {
        return cfmaterialname;
    }
    public void setCfcategoryid(String cfcategoryid) 
    {
        this.cfcategoryid = cfcategoryid;
    }

    public String getCfcategoryid() 
    {
        return cfcategoryid;
    }

    public String getCfcategoryname() {
        return cfcategoryname;
    }

    public void setCfcategoryname(String cfcategoryname) {
        this.cfcategoryname = cfcategoryname;
    }

    public void setCfworkshopid(String cfworkshopid)
    {
        this.cfworkshopid = cfworkshopid;
    }

    public String getCfworkshopid() 
    {
        return cfworkshopid;
    }
    public void setCfmaterialunit(String cfmaterialunit) 
    {
        this.cfmaterialunit = cfmaterialunit;
    }

    public String getCfmaterialunit() 
    {
        return cfmaterialunit;
    }
    public void setCfmaterialspecification(String cfmaterialspecification) 
    {
        this.cfmaterialspecification = cfmaterialspecification;
    }

    public String getCfmaterialspecification() 
    {
        return cfmaterialspecification;
    }
    public void setCfproductionquantity(BigDecimal cfproductionquantity) 
    {
        this.cfproductionquantity = cfproductionquantity;
    }

    public BigDecimal getCfproductionquantity() 
    {
        return cfproductionquantity;
    }
    public void setCfverson(String cfverson) 
    {
        this.cfverson = cfverson;
    }

    public String getCfverson() 
    {
        return cfverson;
    }
    public void setCfseasontypeid(String cfseasontypeid) 
    {
        this.cfseasontypeid = cfseasontypeid;
    }

    public String getCfseasontypeid() 
    {
        return cfseasontypeid;
    }
    public void setCfwfzbaseid(String cfwfzbaseid) 
    {
        this.cfwfzbaseid = cfwfzbaseid;
    }

    public String getCfwfzbaseid() 
    {
        return cfwfzbaseid;
    }

    public List<BomMaterialhalfentry> getBomMaterialhalfentryList()
    {
        return bomMaterialhalfentryList;
    }

    public void setBomMaterialhalfentryList(List<BomMaterialhalfentry> bomMaterialhalfentryList)
    {
        this.bomMaterialhalfentryList = bomMaterialhalfentryList;
    }

    public String getCfmaterialid() {
        return cfmaterialid;
    }

    public void setCfmaterialid(String cfmaterialid) {
        this.cfmaterialid = cfmaterialid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fid", getFid())
            .append("fname", getFname())
            .append("fnumber", getFnumber())
            .append("fdescription", getFdescription())
            .append("fsimplename", getFsimplename())
            .append("fcreatorid", getFcreatorid())
            .append("fcreatetime", getFcreatetime())
            .append("flastupdateuserid", getFlastupdateuserid())
            .append("flastupdatetime", getFlastupdatetime())
            .append("cfmaterialnumber", getCfmaterialnumber())
            .append("cfmaterialname", getCfmaterialname())
            .append("cfcategoryid", getCfcategoryid())
            .append("cfworkshopid", getCfworkshopid())
            .append("cfmaterialunit", getCfmaterialunit())
            .append("cfmaterialspecification", getCfmaterialspecification())
            .append("cfproductionquantity", getCfproductionquantity())
            .append("cfverson", getCfverson())
            .append("cfseasontypeid", getCfseasontypeid())
            .append("cfwfzbaseid", getCfwfzbaseid())
            .append("bomMaterialhalfentryList", getBomMaterialhalfentryList())
            .toString();
    }
}
